import { bireportSign } from '@/services/report/bireport';

export default {
  namespace: 'bireport',

  state: {},

  effects: {
    *bireportSign({ payload, callback }, { call }) {
      const response = yield call(bireportSign, payload);
      const { code, data } = response;
      if (code === 0) {
        callback(data);
      }
    },
  },

  reducers: {},
};
